package com.xuhuan.demo.pattern.decorator.decorator;

import com.xuhuan.demo.pattern.decorator.Drink;

/**
 * @author huan.xu
 * @date 2021/10/6 23:10
 * @description 豆浆
 */
public class Soy extends Decorator {

    public Soy(Drink coffee) {
        super(coffee);
        super.setDescription("豆浆");
        super.setPrice(1.5f);
    }
}
